-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JIT: Clean up some old style walks and QMARK validation #79747
Conversation
Extracted from early liveness PR. Also small visitor change.
Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch, @kunalspathak Issue DetailsAlso a small visitor change. Extracted from #79346.
|
src/coreclr/jit/morph.cpp
Outdated
// Returns true if a GT_QMARK node is encountered in the argx tree | ||
// | ||
if (comp->fgWalkTreePre(&argx, Compiler::fgChkQmarkCB) == Compiler::WALK_ABORT) | ||
if (comp->gtTreeContainsOper(argx, GT_QMARK)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't this just dead code? All QMARK
s should live in their own statements.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like it. Pushed some more clean up.
cc @dotnet/jit-contrib PTAL @TIHan |
Also a small visitor change. Extracted from #79346.